/**
 * Copyright (c) 2020-2021 浦东大爷 All rights reserved.
 * 机会永远都是留给有准备的人
 */
package com.lagou.controller;

import com.lagou.common.ServerResponse;
import com.lagou.service.IEduService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * @author: gitwo
 * @date: 2021-03-11
 * @description:
 */
@Controller
@RequestMapping("/edu")
public class EduController {

    @Autowired
    private IEduService iEduService;

    @RequestMapping(value = "getEduData.do", method = RequestMethod.POST)
    @ResponseBody
    public ServerResponse<Map<String, Object>> getEduData(){
        return iEduService.getEduData();
    }

}
